//
//  ZBBLocationViewControllViewCell.m
//  沙哈拉FM
//
//  Created by dllo on 15/11/4.
//  Copyright © 2015年 S1mpl3. All rights reserved.
//

#import "ZBBLocationViewControllViewCell.h"
#import "UIImageView+WebCache.h"
#import "NSString+CatOut.h"
@implementation ZBBLocationViewControllViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        
    }
    return self;
}
-(void)setZmodel:(ZBBLocationModel *)zmodel
{
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:zmodel.radioCoverLarge]];
    self.label.text = zmodel.rname;
    if (zmodel.programName) {
        self.midLabel.text = [NSString stringWithFormat:@"正在播放 :%@",   zmodel.programName];
        
    }
    else
    {
        self.midLabel.text = @"暂无";
    }
    
    if (zmodel.radioPlayCount) {
          self.downLabel.text = [NSString getStringOfWorth:zmodel.radioPlayCount];
    }
    
  
    
    
}

@end

